package com.bookcloud.java21.chapter10.枚举类介绍101;

public class EnumDayExample {
  public static void main(String[] args) {
    // 调用枚举值
    Day today = Day.MONDAY;
    System.out.println("今天是: " + today);
    // 调用枚举方法
    String dayName = Day.THURSDAY.name();
    System.out.println("dayName: " + dayName);
  }
}
